'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.home.index);
  // router.post('/p', controller.testAPI.post);
  // router.post('/testJwt',controller.testAPI.jwtTest);
  // router.get('/web',controller.testAPI.web);
  require('./routerModules/home')(app);
  require('./routerModules/users')(app);
  require('./routerModules/person')(app);
  require('./routerModules/shop')(app);
};
